body {
  opacity: 1;
  -webkit-transition: opacity 1s ease;
  -moz-transition: opacity 1s ease;
  transition: opacity 1s;
  background-color: #E1E9F1;
  font-family: "Open Sans","Helvetica",Helvetica,Arial,sans-serif;
}

.columns.small-centered {
  background-color: white;
  padding: 50px;
}

.container { padding-bottom: 50px;}

header {
  background-color: #E1E9F1;
}

header .columns, .columns.border  {
          background-color: #fff;
          border: 2px solid #B7C3D0;
          border-radius: 8px;
            }


header .container > :last-child { margin-bottom: 0 !important; }
header .container > :first-child { margin-top: 0 !important; }
header > .columns { background-color: #FFF; }

.title-area .name h1 {
}

figure {margin-top: 0 }

img.logo {
  margin: 50px auto 50px auto;
  width: 275px;
}

/* Some Foundation color overrides */

.top-bar {
  box-shadow: 0 1px #266784, 0 4px #A9C2D0
}

.top-bar, .top-bar-section li a:not(.button) {
  background-color: #5592BB;
}

.top-bar-section li a:not(.button):hover {
background-color: #4783A9;
}

.top-bar-section ul li:hover>a {
  background-color: #5592BB;
}

.top-bar-section li:not(.has-form) a:not(.button){
  background-color: #5592BB!important;
}

.top-bar-section li.has-dropdown.not-click>a:not(.button){
  background-color: #4783A9;
}

.top-bar-section li:not(.has-form) a:not(.button):hover {
  background-color: #4783A9!important;
}

.top-bar-section ul li>a {
  font-size: 16px;
  font-family: "Open Sans","Helvetica",Helvetica,Arial,sans-serif;;
}

.top-bar-section ul {
  background: #5592BB;
}

.top-bar-section ul li:hover:not(.has-form)>a {
  background: #5592BB;
}

.top-bar-section {
  padding-top: 0 !important;
}

.off-canvas-wrap section {
  padding-top: 0 !important;
}

.top-bar.expanded .title-area {
  background: #4783A9;
}

.top-bar.expanded .toggle-topbar a {
  color: #FFF;
}

.top-bar.expanded .toggle-topbar a::after {
-webkit-box-shadow: 1px 10px 1px 1px #FFF,1px 16px 1px 1px #FFF,1px 22px 1px 1px #FFF;
box-shadow: 0 10px 0 1px #FFF,0 16px 0 1px #FFF,0 22px 0 1px #FFF;
}

.ng-cloak {
  opacity: 0;
}

.ng-invalid {
  border: 1px solid red !important;
}

div[role=main] section.demo {
  padding-top: 30px;
}

.page-header h1, .page-header h1 > small > a {
  color: #266784;
}
.page-header h1 > small > a:hover {
  text-decoration: none;
}

.footer {
  text-align: center;
  padding: 30px 0;
  margin-top: 70px;
  border-top: 1px solid #e5e5e5;
  background-color: #f5f5f5;
}

.bs-social {
  margin-top: 20px;
  margin-bottom: 20px;
  text-align: center;
}

@media (min-width: 768px) {

  .bs-social {
    text-align: left;
  }

}

.nav, .pagination, .carousel, .panel-title a {
  cursor: pointer;
}

.bs-social-buttons {
  display: inline-block;
  margin-bottom: 0;
  padding-left: 0;
  list-style: none;
}
.bs-social-buttons li {
  display: inline-block;
  padding: 5px 8px;
  line-height: 1;
}

@media (max-width: 767px) {

  .visible-xs.collapse.in {
    display: block!important;
  }
  .visible-xs.collapse {
    display: none!important;
  }

}

.navbar .collapse {
  border-top: 1px solid #e7e7e7;
  margin-left: -15px;
  margin-right: -15px;
  padding-right: 15px;
  padding-left: 15px;
}

.show-grid {
  margin-bottom: 15px;
}

/*
 * Container
 *
 * Tweak to width of container.
 */

/*@media (min-width: 1200px) {
  .container{
    max-width: 970px;
  }
}*/

/*
 * Tabs
 *
 * Tweaks to the Tabs.
 */


.code pre, .code code {
  border: none;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.tabs dd.active a {
  background-color: #FFF;
}

.code .tabs-content>.content {
  padding: 0;
  width: 100%;
}

/*
 * Buttons
*/

.button, button{
  background-color: #4882AC;
  font-family: "Open Sans","Helvetica",Helvetica,Arial,sans-serif;
}

/* tabs */



 /*
 * Buttons in the masthead.
 */

.btn-outline-inverse {
  color: #fff;
  background-color: transparent;
  border-color: #cdbfe3;
  margin: 10px;
}

@media (min-width: 768px) {

  .btn-outline-inverse {
    width: auto;
    margin: 20px 5px 20px 0;
    padding: 18px 24px;
    font-size: 21px;
  }

}

.btn-outline-inverse:hover, .btn-outline-inverse:focus, .btn-outline-inverse:active {
  color: #563d7c;
  text-shadow: none;
  background-color: #fff;
  border-color: #fff;
}


/* Not enough room on mobile for markup tab, js tab, and plunk btn.
And no one cares about plunk button on a phone anyway */
@media only screen and (max-device-width: 480px) {
  #plunk-btn {
    display: none;
  }
}

.navbar-nav .dropdown .navbar-brand {
  max-width: 100%;
  margin-right: inherit;
  margin-left: inherit;
}

.header-placeholder {
  height: 45px;
}

@media screen and (min-width: 768px) {

  .dropdown.open > .navbar-brand + .dropdown-menu {
    left: 10px;
  }

  .header-placeholder {
    height: 45px;
  }

  .navbar-nav .dropdown .navbar-brand {
    max-width: 200px;
    margin-right: 5px;
    margin-left: 10px;
  }

}

#tabs div[ng-controller=TabsDemoCtrl] .tabs:not(.vertical) dd>a {
  padding: 0.5em 1em;
}

#tabs div[ng-controller=TabsDemoCtrl] .tabs.vertical {
  width: 30%;
}

.reveal-modal {
  outline: 0;
}

/**
 * Animations
 */
.fade {
  opacity: 0;
  -webkit-transition: opacity .15s linear;
          transition: opacity .15s linear;
}
.fade.in {
  opacity: 1;
}

.reveal-modal.fade {
  -webkit-transition: -webkit-transform .3s ease-out;
     -moz-transition:    -moz-transform .3s ease-out;
       -o-transition:      -o-transform .3s ease-out;
          transition:         transform .3s ease-out;
  -webkit-transform: translate(0, -25%);
      -ms-transform: translate(0, -25%);
          transform: translate(0, -25%);
}
.reveal-modal.in {
  -webkit-transform: translate(0, 0);
      -ms-transform: translate(0, 0);
          transform: translate(0, 0);
}

.reveal-modal-bg.fade {
  filter: alpha(opacity=0);
  opacity: 0;
}
.reveal-modal-bg.in {
  filter: alpha(opacity=50);
  opacity: .5;
}

.alert-box {
  background-color: #5592BB;
}
